package com.wh.weibo.mapper;

import com.wh.weibo.model.Feed;

import java.util.List;

public interface FeedMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Feed record);

    int insertSelective(Feed record);

    Feed selectByPrimaryKey(Integer id);

    /**
     * 根据用户查询用户feed流
     * @param userId
     * @return
     */
    List<Feed> selectList(Integer userId);

    int updateByPrimaryKeySelective(Feed record);

    int updateByPrimaryKey(Feed record);



}